-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Fix Aidrop button in ERC1155 being disabled #5623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5623 +/- ##
=======================================
Coverage 44.92% 44.92%
=======================================
Files 1083 1083
Lines 56326 56326
Branches 4061 4061
=======================================
Hits 25306 25306
Misses 30337 30337
Partials 683 683
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
5cc5e32 to
73e3a68
Compare

PR-Codex overview
This PR focuses on simplifying the form handling in the
AirdropTabcomponent by removing the unusedformStateand streamlining the logic for the disabled state of the submit button.Detailed summary
formStatefrom the destructured return ofuseForm.disabledprop of the submit button to only check ifaddressis present andaddresseslength is zero, removing the dependency onformState.isDirty.